<?php
/**
 * 公用文件
 */


header('Content-type: text/html; charset=utf-8');
set_magic_quotes_runtime(0);
date_default_timezone_set('Asia/Shanghai');

//require('config.inc.php');
require('cls_db.php');
$db = new Mysql();
$db->connect('localhost','root','','wordpress');
$db->query("SET NAMES UTF8");
?>